package com.adf.admin.service.impl;

import com.adf.admin.entity.PageResult;
import com.adf.admin.mapper.RoleQueryMapper;
import com.adf.admin.service.IRoleQueryService;
import com.adf.admin.vo.RoleQueryVO;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class RoleQueryServiceImpl implements IRoleQueryService {

    @Resource
    private RoleQueryMapper curRoleQueryMapper;


     @Override
     public IPage<RoleQueryVO> getPageList(Page<RoleQueryVO> page, RoleQueryVO queryVO) {
            // 直接调用 Mapper 方法，传递 Page 对象
            return curRoleQueryMapper.getPageList(page, queryVO);
      }

}
